FROM oracle-12c:base

### This image is a build from non automated image cause of no possibility of Oracle 12c instalation in Docker container

ENV DBCA_TOTAL_MEMORY 2048
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/u01/app/oracle/product/12.1.0/db1/bin
ENV ORACLE_HOME /u01/app/oracle/product/12.1.0/db1
ENV ORACLE_SID orcl
ENV NLS_LANG AMERICAN_AMERICA.ZHS16GBK

ADD entrypoint.sh /entrypoint.sh

EXPOSE 1521

ENTRYPOINT ["/entrypoint.sh"]
CMD [""]
